ExamPlay Dark Logo
Logga in

Computer Science for IGCSE & O level - Software (Section 3 - No. 35)

What is the difference between a compiler and an interpreter?
A compiler translates and then executes; an interpreter executes line by line.
An interpreter translates and then executes; a compiler executes line by line.
Both translate and execute simultaneously.
They both translate the entire program at once.

Förklaring

Compilers translate the whole code before execution, while interpreters translate and execute one line at a time.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc